<table width="100%"><tr>
    <td width="55px" align="left"><a href="{$current_location}"><img src="{$skin_images_dir}/home.png" border="0"></a></td>
    <td>
        <div class="container" style="height:48px; margin-left:20px;">
            <div class="row">
                {$lang.stat_wishes_total}<b>{$overall_stats.cnt_total}</b>&nbsp;|&nbsp;{$lang.stat_wishes_done}<b>{$overall_stats.cnt_done}</b>&nbsp;|&nbsp;{$lang.stat_wishes_waight}<b>{$overall_stats.cnt_total-$overall_stats.cnt_new-$overall_stats.cnt_done}</b>
            </div>
            <div class="row">
            <p style="padding-top: 20px;">
            {if $smarty.session.loggedIn}
                <b><a href="{$current_location}/{$smarty.session.id}">{$smarty.session.first_name} {$smarty.session.last_name}{if $smarty.session.login} ({$smarty.session.login}){/if}</a></b> <small>[<a href="{$current_location}/logout">{$lang.menu_exit}</a>]</small>
            {else}
                <a href="{$current_location}/auth">{$lang.login_lnk}</a>&nbsp;&nbsp;&nbsp;
                <a href="{$current_location}/reg">{$lang.reg_lnk}</a>
            {/if}                
            </p>
            </div>
        </div>    
    </td>
    <td>
        <div class="container" id="share_block">
            {if $smarty.const.CAN_EDIT || $present_id}
                <div class="cell">
                    <a href="javascript: void(0);" title="{if  $present_id}{$lang.user_link_text_selected}{else}{$lang.user_link_text_my}{/if}"><img id="share_link" src="{$skin_images_dir}/share_link.png" alt="" onmouseover="{if $present_id}{literal}$('#share_block').animate({'left': '-200px'}, 'fast').queue(function() {$('#link_wish').fadeIn('fast').focus(); $(this).dequeue();});{/literal}{else}{literal}$('#share_block').animate({'left': '-200px'}, 'fast').queue(function() {$('#link_user').fadeIn('fast').focus(); $(this).dequeue();});{/literal}{/if}"></a>
                </div>
            {/if}
            <div class="cell" style="padding-top: 7px;">
            {if $smarty.const.CAN_EDIT}
                <input class="wish_link" id="link_user" style="display: none;" type="text" readonly="readonly" title="{$lang.text_selected}" value="{$current_location}/{$smarty.session.id}" onfocus="this.select();" onblur="{literal}$('#link_user').fadeOut('fast');$('#share_block').animate({'left': '0px'}, 'fast');{/literal}">
                <input class="wish_link" id="link_wish" style="display: none;" type="text" readonly="readonly" title="{$lang.text_selected}" value="{$current_location}/{$smarty.session.id}/{$present_id}" onfocus="this.select();" onblur="{literal}$('#link_wish').fadeOut('fast');$('#share_block').animate({'left': '0px'}, 'fast');{/literal}">
            {else}
                <input class="wish_link" id="link_wish" style="display: none;" type="text" readonly="readonly" title="{$lang.text_selected}" value="{$current_location}/{$current_user}/{$present_id}" onfocus="this.select();" onblur="{literal}$('#link_wish').fadeOut('fast');$('#share_block').animate({'left': '0px'}, 'fast');{/literal}">
            {/if}
            </div>
        </div>        
    </td>
</tr></table>